package com.liwbn.rbac.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class ErrorController {

    @RequestMapping("/error")
    public String index() {
        return "error/error";
    }

    @RequestMapping("/error/auth")
    public String shiroError() {
        return "error/autherror";
    }

    @RequestMapping("/404")
    public String notFound(){
        return "404";
    }
}
